Skip to content

Accessibility improvements: add text for empty links and buttons and alt text for images#7635

Open
labkey-susanh wants to merge 4 commits intodevelopfrom
fb_emptyLinksAndButtons
Open

Accessibility improvements: add text for empty links and buttons and alt text for images#7635
labkey-susanh wants to merge 4 commits intodevelopfrom
fb_emptyLinksAndButtons

Conversation

@labkey-susanh
Copy link
Copy Markdown
Contributor

@labkey-susanh labkey-susanh commented Apr 30, 2026

Rationale

For better accessibility, we need to provide text for links and buttons that are only icons and alt text for images.

Related Pull Requests

Changes

  • Add text in hidden permalink on pageTemplate

@labkey-susanh labkey-susanh requested a review from cnathe May 1, 2026 00:22
<% }
if (null != me.getViewContext().getContainer()) {
%><a href="<%=h(me.getPermaLink())%>" id="permalink" name="permalink" style="display: none;"></a><%
%><a href="<%=h(me.getPermaLink())%>" id="permalink" name="permalink" style="display: none;"><span class="sr-only">Page link<span></span></span></a><%
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the extra <span></span> needed here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, certainly not. Some sort of auto-completion "help" at play here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants